package com.lms.demo.fileservice.model;

/**
 * @Author: 李孟帅
 * @CreateTime: 2020-12-24 19:13
 * @Description:
 */
public class FileInfo {
    private Integer id;
    private String fileId;
    private String filename;
    private Long size;

    public Integer getId() {
        return id;
    }

    public FileInfo setId(Integer id) {
        this.id = id;
        return this;
    }

    public String getFileId() {
        return fileId;
    }

    public FileInfo setFileId(String fileId) {
        this.fileId = fileId;
        return this;
    }

    public String getFilename() {
        return filename;
    }

    public FileInfo setFilename(String filename) {
        this.filename = filename;
        return this;
    }

    public Long getSize() {
        return size;
    }

    public FileInfo setSize(Long size) {
        this.size = size;
        return this;
    }

    @Override
    public String toString() {
        return "FileInfo{" +
                "id=" + id +
                ", fileId='" + fileId + '\'' +
                ", filename='" + filename + '\'' +
                ", size=" + size +
                '}';
    }
}
